#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

typedef int Qdatetype;

typedef struct QueueNode
{
	struct QueueNode* next;
	Qdatetype date;
}QueueNode;

typedef struct Queue
{
	QueueNode* head;
	QueueNode* tail;
	int size;
}Queue;

void QueueInit(Queue* qp);
void QueueDestory(Queue* qp);
void QueuePush(Queue* qp,Qdatetype x);
void QueuePop(Queue* qp);
int QueueSize(Queue* qp);
int QueueEmpty(Queue* qp);
Qdatetype QueueFront(Queue* qp);
Qdatetype QueueBack(Queue* qp);

